package com.bjsxt.service;

import com.bjsxt.domain.Scheduling;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bjsxt.dto.SchedulingFormDto;
import com.bjsxt.dto.SchedulingQueryDto;

import java.util.List;

public interface SchedulingService{


    /**
     * 查询医生的排班信息
     * @param schedulingQueryDto
     * @return
     */
    List<Scheduling> queryScheduling(SchedulingQueryDto schedulingQueryDto);

    /**
     * 保存医生的排班信息
     * @param schedulingFormDto
     * @return
     */
    int saveScheduling(SchedulingFormDto schedulingFormDto);

    /**
     * 根据条件查询出有号的科室id集合
     * @param deptId
     * @param schedulingDay
     * @param schedulingType
     * @param subsectionType
     * @return
     */
    List<Long> queryHasSchedulingDeptIds(Long deptId, String schedulingDay, String schedulingType, String subsectionType);
}
